package cn.springcloud.book.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by wudl on 2018/12/6.
 */
@RestController
public class SkySecondController {

    @RequestMapping(value = "/getSendInfo",method = RequestMethod.POST)
    String getSendInfo(@RequestParam("serviceName") String serviceName) {

        return serviceName + "---------> " + "service-b";
    }
}
